package com.javasm.process.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.process.entity.ProcessDef;

import java.util.List;

public interface ProcessDefService extends IService<ProcessDef> {
    ProcessDef getNextDef(String pname, Integer currentLevel);
    ProcessDef getCurrentDef(String defName, String taskName);

    List<ProcessDef> listProcessDefAndDeptAndPos(ProcessDef def);

}